//
//  MyTableViewCell.m
//  29-tableView_Animation
//
//  Created by Snow on 16/8/23.
//  Copyright © 2016年 Snow. All rights reserved.
//

#import "MyTableViewCell.h"

@implementation MyTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.imageOfCell = [[UIImageView alloc] init];
        [self.contentView addSubview:self.imageOfCell];
    }
    return self;
}
- (void)layoutSubviews
{
    [super layoutSubviews];
    self.imageOfCell.frame = self.contentView.bounds;
    self.imageOfCell.image = [UIImage imageNamed:@"listen"];
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
